From: Ivan Molodetskikh Date: Wed, 9 Feb 2022 06:59:03 +0000 (+0300) Subject: status/remote-access: Remove menu for stopping screencasts X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~37 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=144acb1d02209401287f5ac69826215ade69634f;p=gnome-shell.git status/remote-access: Remove menu for stopping screencasts It is now handled by a dedicated panel. Part-of: --- diff --git a/js/ui/status/remoteAccess.js b/js/ui/status/remoteAccess.js index a63b257c5..605ad69c6 100644 --- a/js/ui/status/remoteAccess.js +++ b/js/ui/status/remoteAccess.js @@ -51,15 +51,6 @@ class RemoteAccessApplet extends PanelMenu.SystemIndicator { this._recordingIndicator = this._addIndicator(); this._recordingIndicator.icon_name = 'media-record-symbolic'; this._recordingIndicator.add_style_class_name('screencast-indicator'); - - this._recordingItem = new PopupMenu.PopupSubMenuMenuItem( - _('Screen Recording in Progress'), - true - ); - this._recordingItem.menu.addAction(_('Stop'), - () => Main.screenshotUI.stopScreencast()); - this._recordingItem.icon.icon_name = 'media-record-symbolic'; - this.menu.addMenuItem(this._recordingItem); } _isScreenShared() { @@ -80,7 +71,6 @@ class RemoteAccessApplet extends PanelMenu.SystemIndicator { } this._recordingIndicator.visible = this._isRecording(); - this._recordingItem.visible = Main.screenshotUI.screencast_in_progress; } _onStopped(handle) {